package com.lxmes.sales.service;

import java.util.List;
import com.lxmes.sales.domain.NcProcessingPreSchedulingPlan;

/**
 * 加工预排产计划Service接口
 *
 * @author lx
 * @date 2023-04-11
 */
public interface INcProcessingPreSchedulingPlanService
{
    /**
     * 查询加工预排产计划
     *
     * @param id 加工预排产计划主键
     * @return 加工预排产计划
     */
    public NcProcessingPreSchedulingPlan selectNcProcessingPreSchedulingPlanById(Long id);

    /**
     * 查询加工预排产计划列表
     *
     * @param ncProcessingPreSchedulingPlan 加工预排产计划
     * @return 加工预排产计划集合
     */
    public List<NcProcessingPreSchedulingPlan> selectNcProcessingPreSchedulingPlanList(NcProcessingPreSchedulingPlan ncProcessingPreSchedulingPlan);

    /**
     * 新增加工预排产计划
     *
     * @param ncProcessingPreSchedulingPlan 加工预排产计划
     * @return 结果
     */
    public int insertNcProcessingPreSchedulingPlan(NcProcessingPreSchedulingPlan ncProcessingPreSchedulingPlan);

    /**
     * 修改加工预排产计划
     *
     * @param ncProcessingPreSchedulingPlan 加工预排产计划
     * @return 结果
     */
    public int updateNcProcessingPreSchedulingPlan(NcProcessingPreSchedulingPlan ncProcessingPreSchedulingPlan);

    /**
     * 批量删除加工预排产计划
     *
     * @param ids 需要删除的加工预排产计划主键集合
     * @return 结果
     */
    public int deleteNcProcessingPreSchedulingPlanByIds(Long[] ids);

    /**
     * 删除加工预排产计划信息
     *
     * @param id 加工预排产计划主键
     * @return 结果
     */
    public int deleteNcProcessingPreSchedulingPlanById(Long id);

    /**
     * 导入加工预排产计划信息
     *
     * @return 结果
     */
    String imporIteminfo(List<NcProcessingPreSchedulingPlan> ncProcessingPreSchedulingPlanList, boolean updateSupport, String operName);

    int formalProduction(Long[] ids);
}
